package cn.yto.print.model.request;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class PrintTaskRequest {

    private String sessionId;

    private String cmd;
    private String taskId;
    private String printer;
    private String templateType;
    private List<Document> documents;
    private int firstDocumentNumber;
    private int totalDocumentCount;

    @Data
    public static class Document {

        private String printer;
        private int documentNumber;
        private String expressPrintType;

        private String documentID;
        private String templateUrl;
        private String customTempUrl;
        private String printData;
        private String waybillNo;
        private Map<String, Object> addData;
        private Map<String, Object> customData;
        private String waybillCode;
        // 爱库存开放平台调用公共参数
        private String params;
        // 电子面单对应订单是否是快手订单
        private Boolean ksOrderFlag;
        // 唯品会 - 供应商编码
        private String storeId;
        // 唯品会 - 业务渠道
        private String channel;
        // 唯品会 - 平台模板url
        private String platformTemplateURL;
        // 视频号：根据自定义内容自动分页
        private Integer splitControl;
    }

}
